﻿@model Inspinia_MVC5.Models.Ebook
@{
    ViewBag.Title = "电子书详细信息";
}

<div class="row wrapper border-bottom white-bg page-heading">
    <div class="col-lg-10">
        <h2>电子书籍详细信息</h2>
        <ol class="breadcrumb">
            <li>
                <a href="#">主页</a>
            </li>
            <li>
                <a>电子书</a>
            </li>
            @*<li class="active">
                <strong>Product detail</strong>
            </li>*@
        </ol>
    </div>
    <div class="col-lg-2">

    </div>
</div>

<div class="wrapper wrapper-content animated fadeInRight">

    <div class="row">
        <div class="col-lg-12">

            <div class="ibox product-detail">
                <div class="ibox-content">

                    <div class="row">
                        <div class="col-md-5">


                            <div class="product-images">

                                <div>
                                                        <div class="image-imitation" style="padding-top: 0px;padding-bottom: 0px;background-color:white">
                                                            <img src="@Model.EbookPic" style="width:100%;height:100%" alt=" 图书图片" />
                                                        </div>
                                </div>
                                @*<div>
                                    <div class="image-imitation">
                                        [IMAGE 2]
                                    </div>
                                </div>
                                <div>
                                    <div class="image-imitation">
                                        [IMAGE 3]
                                    </div>
                                </div>*@


                            </div>

                        </div>
                        <div class="col-md-7">

                            <h2 class="font-bold m-b-xs">
                                @Model.EbookName
                            </h2>
                            <small> @Model.EbookPress </small>
                            <div class="m-t-md">
                                <h2 class="product-main-price">￥0 <small class="text-muted">元</small> </h2>
                            </div>
                            <hr>

                            <h4>图书详情</h4>
                            <div>
                                @Html.Raw(Model.Desc)
                            </div>

                            @*<div class="small text-muted">
                                It is a long established fact that a reader will be distracted by the readable
                                content of a page when looking at its layout. The point of using Lorem Ipsum is

                                <br />
                                <br />
                                There are many variations of passages of Lorem Ipsum available, but the majority
                                have suffered alteration in some form, by injected humour, or randomised words
                                which don't look even slightly believable.
                            </div>*@
                            @*<dl class="small m-t-md">
                                <dt>Description lists</dt>
                                <dd>A description list is perfect for defining terms.</dd>
                                <dt>Euismod</dt>
                                <dd>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</dd>
                                <dd>Donec id elit non mi porta gravida at eget metus.</dd>
                                <dt>Malesuada porta</dt>
                                <dd>Etiam porta sem malesuada magna mollis euismod.</dd>
                            </dl>*@
                            <hr>

                            <div>
                                <div class="btn-group">
                                    @using (Html.BeginForm("EbookView","User"))
                                    {
                                        <input type="hidden" name="id" value="@Model.Id" />
                                        <button type="submit" class="btn btn-primary btn-sm"><i class="fa fa-cart-plus"></i> 阅读</button>

                                    }
                                    @*<button class="btn btn-white btn-sm"><i class="fa fa-star"></i> Add to wishlist </button>
        <button class="btn btn-white btn-sm"><i class="fa fa-envelope"></i> Contact with author </button>*@
                                </div>
                            </div>



                        </div>
                    </div>

                </div>
                <div class="ibox-footer">
                    <span class="pull-right">
                       欢迎同学学习
                    </span>
                    试运营期间平台电子书免费开发阅读
                </div>
            </div>

        </div>
    </div>
    




</div>

@section Styles {
    @Styles.Render("~/plugins/slickStyles")
    @Styles.Render("~/plugins/slickThemeStyles")
}

@section Scripts {
    @Scripts.Render("~/plugins/slick")

    <script type="text/javascript">
        $(document).ready(function () {


            $('.product-images').slick({
                dots: true
            });

        });
    </script>
}

